package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.AlarmEntity;

/**
 * Created by xu_jiaHui on 2017/10/13.
 */
public class AlarmDto {

    private Integer alarmId;
    private String deviceId;
    private Integer deviceState;
    private String deviceModel;
    private Integer deviceOrgId;
    private String deviceManufacturer;
    private String deviceAddress;
    private String deviceIpAddress;
    private Integer devicePort;
    private String createTime;
    private Integer createUser;
    private String updateTime;
    private Integer deviceType;
    private Integer devicePathId;
    private String ruleGroupName;
    private Integer cycleTime;
    private String specialPoint;

    private String orgName;

    public String getRuleGroupName() {
        return ruleGroupName;
    }

    public void setRuleGroupName(String ruleGroupName) {
        this.ruleGroupName = ruleGroupName;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public Integer getDevicePathId() {
        return devicePathId;
    }

    public void setDevicePathId(Integer devicePathId) {
        this.devicePathId = devicePathId;
    }

    public Integer getAlarmId() {
        return alarmId;
    }

    public void setAlarmId(Integer alarmId) {
        this.alarmId = alarmId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getDeviceState() {
        return deviceState;
    }

    public void setDeviceState(Integer deviceState) {
        this.deviceState = deviceState;
    }

    public String getDeviceModel() {
        return deviceModel;
    }

    public void setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel;
    }

    public String getDeviceManufacturer() {
        return deviceManufacturer;
    }

    public void setDeviceManufacturer(String deviceManufacturer) {
        this.deviceManufacturer = deviceManufacturer;
    }

    public String getDeviceAddress() {
        return deviceAddress;
    }

    public void setDeviceAddress(String deviceAddress) {
        this.deviceAddress = deviceAddress;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public Integer getDeviceOrgId() {
        return deviceOrgId;
    }

    public void setDeviceOrgId(Integer deviceOrgId) {
        this.deviceOrgId = deviceOrgId;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getDeviceIpAddress() {
        return deviceIpAddress;
    }

    public void setDeviceIpAddress(String deviceIpAddress) {
        this.deviceIpAddress = deviceIpAddress;
    }

    public Integer getDevicePort() {
        return devicePort;
    }

    public void setDevicePort(Integer devicePort) {
        this.devicePort = devicePort;
    }

    public Integer getCycleTime() {
        return cycleTime;
    }

    public void setCycleTime(Integer cycleTime) {
        this.cycleTime = cycleTime;
    }

    public String getSpecialPoint() {
        return specialPoint;
    }

    public void setSpecialPoint(String specialPoint) {
        this.specialPoint = specialPoint;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public AlarmEntity toBean() {
        AlarmEntity alarmEntity = new AlarmEntity(deviceId, deviceState, deviceModel, deviceOrgId, deviceManufacturer, deviceAddress, createUser, createTime, updateTime,deviceType);
        return alarmEntity;
    }

}
